/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const reconcliationConfig = {
  path: '/reconcliationConfig',
  component: Layout,
  redirect: 'noRedirect',
  name: '对账配置',
  alwaysShow: true,
  meta: {
    title: '对账配置',
    icon: 'form',
    roles: [
      '/reconcliationConfig/directManagementSetup',
      '/reconcliationConfig/plateformConfig',
      '/reconcliationConfig/businessTypeSetup',
      '/reconcliationConfig/payWaySetup',
      '99999'
    ]
  },
  children: [
    {
      path: 'directManagementSetup',
      component: () => import('@/views/reconcliationConfig/directManagementSetup/index'),
      name: 'DirectManagementSetup',
      meta: { title: '院区管理', noCache: true, roles: ['/reconcliationConfig/directManagementSetup', '99999'] }
    },
    {
      path: 'plateformConfig',
      component: () =>
        import('@/views/reconcliationConfig/plateformConfig/index'),
      name: 'PlateformConfig',
      meta: { title: '平台配置', noCache: true, roles: ['/reconcliationConfig/plateformConfig', '99999'] }
    },
    {
      path: 'businessTypeSetup',
      component: () => import('@/views/reconcliationConfig/businessTypeSetup/index'),
      name: 'BusinessTypeSetup',
      meta: { title: '业务类型', noCache: true, roles: ['/reconcliationConfig/businessTypeSetup', '99999'] }
    },
    {
      path: 'payWaySetup',
      component: () => import('@/views/reconcliationConfig/payWaySetup/index'),
      name: 'PayWaySetup',
      meta: { title: '支付方式', noCache: true, roles: ['/reconcliationConfig/payWaySetup', '99999'] }
    }
  ]
}

export default reconcliationConfig
